<%@page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${table}</title>

<script src="${pageContext.request.contextPath}/script/jquery/jquery-1.11.0.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/script/plugins/jquery-syntax-3.1.1/public/jquery.syntax.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/script/plugins/jquery-syntax-3.1.1/public/jquery.syntax.cache.js" type="text/javascript"></script>
<script type="text/javascript">
	
	$(function() {
		$.post("${pageContext.request.contextPath}/sysmgr/dbmgr/doNotNeedAuth_tableScript.do?databaseName=${databaseName}&table=${table}", null, function(result) {
			$("#script").text(result.CreateTable) ;
			$.syntax({theme: 'grey', blockLayout: 'fixed'});
		}, 'json').error(function() { $.easyui.loaded(); });
		
	});
</script>
</head>

<body>
<pre id="script" class="syntax brush-sql"></pre>
</body>
</html>